<div class="page-crumb">
    <div class="ui-ctrl ui-crumb"><span class="ui-crumb-node ui-crumb-node-first ui-crumb-node-last">新建广告位</span></div>
</div>

<div class="layui-main">
    <form class="layui-form" action="" onsubmit="return false">

        <input type="text" name="change" hidden value="create">
        <div class="layui-form-item">
            <label class="layui-form-label">广告位名称：</label>
            <div class="layui-input-inline">
                <input type="text" name="code_name" lay-verify="code_name" autocomplete="off" placeholder="请输入广告位名称" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">最多可输入100个字符</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">选择应用：</label>
            <div class="layui-input-inline">
                <select name="apply_id"  lay-verify="apply_id" lay-filter="apply_id">
                    <option value="">请选择...</option>
                    <foreach name="result" item="vo" key="k">
                        <option value="{$vo.id}">{$vo.apply_name}</option>
                    </foreach>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">选择广告位类型：</label>
            <div class="layui-input-inline">
                <select name="code_type" lay-verify="code_type" lay-filter="code_type">
                    <option value="">请选择</option>
                    <option value="1">640*100横幅</option>
                    <option value="2">640*200横幅</option>
                    <option value="3">插屏</option>
                    <option value="4">开屏</option>
                    <option value="5">分享墙</option>
                    <option value="6">信息流</option>>

                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">广告位尺寸：</label>
            <div class="layui-input-block">
                <div class="migrate-warning">
                    <p>注意：该设置将限制广告图片的大小 单位(PX)</p>
                </div>
                <div class="code-size-panel">
                    <div class="custom-size-wrap">
                        <div class="size-box">
                            <label class="size-label">宽：</label>
                            <input class="size-width size-input" lay-verify="width" type="text" name="width">
                        </div>
                        <div class="size-box">
                            <label class="size-label">高：</label>
                            <input class="size-height size-input" lay-verify="height" type="text" name="height">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">填写广告位说明：</label>
            <div class="layui-input-inline">
                <input type="text" name="apply_synopsis" lay-verify="apply_synopsis" autocomplete="off" placeholder="请输入广告位说明" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">最多可输入128个字符</div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit="" lay-filter="submit">　　保存　　</button>
                <button class="layui-btn layui-btn-primary close-btn" onclick="PopModel.closeFrame();">取消</button>
            </div>
        </div>

    </form>
    <script src="__BACKEND_STATIC__/js/Adsense/create.js"></script>
</div>
</block>